package ClientsAndHotels.types;

import jade.core.AID;
import java.io.Serializable;
import java.util.ArrayList;


public class OrderResponse implements Serializable {

    private AID hotelId;
    private String city;
    private int stars;
    private ArrayList<Room> rooms;

    public OrderResponse(AID myId, String myCity, int myStars, ArrayList<Room> myRooms) {
        hotelId = myId;
        city = myCity;
        stars = myStars;
        rooms = myRooms;
    }

    public AID getHotelId() {
        return hotelId;
    }

    public String getCity() {
        return city;
    }

    public ArrayList<Room> getRooms() {
        return rooms;
    }

    public int getStars() {
        return stars;
    }

    public void removeRoom(Room item) {
        rooms.remove(item);
    }
}
